Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: vendor older version of packaging for python 3.5 #1530

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

saikonen
Copy link
Collaborator

vendored version of packaging does not work for python 3.5 as it contains types. Vendored an older version for the python 3.5 use case

@saikonen
Copy link
Collaborator Author

quite an enormous diff considering the very narrow use of the library in the upcoming pip decorator. Should we instead consider hoisting the implementation for the following, if these are all we need in the future?

from metaflow._vendor.packaging.tags import (
    _cpython_abis,
    compatible_tags,
    cpython_tags,
    mac_platforms,
)

@savingoyal savingoyal merged commit d18be77 into master Sep 12, 2023
20 checks passed
@savingoyal savingoyal deleted the fix/vendored-packaging-not-working-for-py35 branch September 12, 2023 13:55
@savingoyal
Copy link
Collaborator

unfortunately getting these methods and the transitive methods cleanly out of packaging is not a straightforward procedure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants